package com.study.this_bro_constructor;

public class Test {
    public static void main(String[] args) {
        Student student1 = new Student("孙悟空",50,"水帘洞");
        Student student2 = new Student("八戒",45);
        System.out.println(student2.getName());
        System.out.println(student2.getAge());
        System.out.println(student2.getHome());
    }
}
